package com.codeoss.framework.service;

import java.io.IOException;

import org.springframework.web.multipart.MultipartFile;

import com.codeoss.framework.response.AttachmentResponse;

public interface IAttachmentService {
	public AttachmentResponse init(String model,Long recordId);
	
	public AttachmentResponse upload(String model,Long recordId,MultipartFile file);
	
	public AttachmentResponse download(Long id)throws IOException;
	
	public AttachmentResponse deleteAttachment(Long id);
}
